<?php

namespace App\Package\{{serviceName}};

use GuzzleHttp\Exception\GuzzleException;
use Psr\Http\Message\ResponseInterface;
use Yolo\Components\RpcClient\Annotations\RpcClient;
use Yolo\Components\RpcClient\Client;

class {{serviceName}}
{

    public function __construct(
        #[RpcClient('{{serviceName}}')]
        private readonly Client $client,
    ) {}

{{methods}}
}